var React = require('react');
var Select = React.createClass({
    getInitialState: function () {
        return {
            value: '1'
        }
    },
    change: function (e) {
        this.setState({
            value: e.target.value
        });
    },
    render: function () {
        return <select name="" id="" value={this.state.value} onChange={this.change}>
            <option value="1">北京1</option>
            <option value="2">北京2</option>
            <option value="3">北京3</option>
            <option value="4">北京4</option>
            <option value="5">北京5</option>
        </select>
    }
});
module.exports = Select;